package com.lby.system.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lby.system.entity.TbUser;
import com.lby.system.mapper.TbUserMapper;
import com.lby.system.service.TbUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户表 服务实现类
 * </p>
 *
 * @author lby
 * @since 2021-05-05
 */
@Service
public class TbUserServiceImpl extends ServiceImpl<TbUserMapper, TbUser> implements TbUserService {

    @Override
    public IPage<TbUser> findUserPage(Page<TbUser> page, QueryWrapper<TbUser> wrapper) {
        return this.baseMapper.findUserPage(page, wrapper);
    }
}
